home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat3
/
Tk
/
setcmodel.z
/
setcmodel
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll((((3333TTTTkkkk)))) TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll((((3333TTTTkkkk))))
NNNNAAAAMMMMEEEE
Tk_SetColorModel, Tk_GetColorModel - access color model for screen
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(_t_k_w_i_n, _m_o_d_e_l))))
Tk_ColorModel
TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(_t_k_w_i_n))))
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
Tk_Window _t_k_w_i_n (in) Token for window.
Tk_ColorModel _m_o_d_e_l (in) New model to use for _w_i_n_d_o_w's screen.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
These procedures allow the color model for a screen to be read and
written. See the documentation for the ttttkkkk ccccoooolllloooorrrrmmmmooooddddeeeellll command for details
on the color model and how it is used. TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll sets the color
model for the screen associated with _t_k_w_i_n to _m_o_d_e_l. _M_o_d_e_l must be
either TTTTKKKK____CCCCOOOOLLLLOOOORRRR or TTTTKKKK____MMMMOOOONNNNOOOO. In contrast to the ttttkkkk ccccoooolllloooorrrrmmmmooooddddeeeellll command,
there are no restrictions on the value passed to TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll (you
can set the model to TTTTKKKK____CCCCOOOOLLLLOOOORRRR even if the screen only has one bit plane).
TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll returns the current color model for the screen
associated with _t_k_w_i_n.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
color model, screen
PPPPaaaaggggeeee 1111